package puly.arr;

public class UrbanExpressway extends Road{
    private int speedLimit;
    public UrbanExpressway(String name,int laneCount,int speedLimit){
        super(name,laneCount);
        this.speedLimit=speedLimit;
    }
    public void setSpeedLimit(int speedLimit){
        this.speedLimit=speedLimit;
    }
    public int getSpeedLimit(){
        return speedLimit;
    }
}
